﻿using System;
using System.Collections.Generic;
using System.Text;
using Abp.AutoMapper;
using Abp.Domain.Entities;
using FwProject.ManagerConfig;
using FwProject.Users.Dto;

namespace FwProject.ManagerConfig.Dto
{
    [AutoMap(typeof(ConfigInfo))]
    public class ConfigInfoDto:Entity<Guid>
    {
        /// <summary>
        /// 所属工厂
        /// </summary>
        public Guid FactoryinfoId { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CorporateName { get; set; }
        /// <summary>
        /// 公司简称
        /// </summary>
        public string Abbreviation { get; set; }
        /// <summary>
        /// 公司电话
        /// </summary>
        public string CorporateMobile { get; set; }
        /// <summary>
        /// 注册人
        /// </summary>
        public long RegisterUserId { get; set; }

        public UserDto RegisterUser { get; set; }

        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime RegisterDate { get; set; }

        /// <summary>
        /// 公司地址
        /// </summary>
        public string CorporateAddress { get; set; }

        /// <summary>
        /// 会计
        /// </summary>
        public string Accountant { get; set; }
        /// <summary>
        /// 出纳
        /// </summary>
        public string Cashier { get; set; }
        /// <summary>
        /// 经办人
        /// </summary>
        public string AgentPerson { get; set; }
        /// <summary>
        /// 支付二维码
        /// </summary>
        public string PaymentCode { get; set; }
    }
}
